﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="../../masterpages/umbracoPage.Master" CodeBehind="EditCategory.aspx.cs" Inherits="Auros.Categorisation.Umbraco.EditCategory" %>
<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %>

<%@ Import Namespace="Auros.Categorisation.Umbraco" %>

<asp:Content runat="server" ContentPlaceHolderID="body">

    <umb:UmbracoPanel runat="server" ID="PropertyPanel" hasMenu="true" Text='<%# UIHelpers.GetLocalisedText("editCategory", "categories", "Edit Category") %>'>
    
        <umb:Pane runat="server">

            <umb:PropertyPanel runat="server" Text='<%# UIHelpers.GetLocalisedText("id", "categories", "ID") %>'>
                <asp:Label runat="server" ID="IDLabel"  />
            </umb:PropertyPanel>

            <umb:PropertyPanel runat="server" Text='<%# UIHelpers.GetLocalisedText("name", "categories", "Name") %>'>
                <asp:TextBox runat="server" ID="NameTextBox" MaxLength="50" CssClass="guiInputText guiInputStandardSize" />
                <asp:HyperLink runat="server" ID="NameTranslateLink" Text='<%# UIHelpers.GetLocalisedText("editTranslations", "categories", "Edit Translations") %>' />
            </umb:PropertyPanel>

            <umb:PropertyPanel runat="server" Text='<%# UIHelpers.GetLocalisedText("description", "categories", "Description") %>'>
                <asp:TextBox runat="server" ID="DescriptionTextBox" TextMode="MultiLine" MaxLength="255" CssClass="guiInputText guiInputStandardSize" />
                <asp:HyperLink runat="server" ID="DescriptionTranslateLink" Text='<%# UIHelpers.GetLocalisedText("editTranslations", "categories", "Edit Translations") %>' />
            </umb:PropertyPanel>

            <umb:PropertyPanel runat="server" Text='<%# UIHelpers.GetLocalisedText("selectable", "categories", "Selectable") %>'>
                <asp:CheckBox runat="server" ID="SelectableCheckBox" />
            </umb:PropertyPanel>

            <umb:PropertyPanel runat="server" Text='<%# UIHelpers.GetLocalisedText("enabled", "categories", "Enabled") %>'>
                <asp:CheckBox runat="server" ID="EnabledCheckBox" />
            </umb:PropertyPanel>
        
        </umb:Pane>
    
    </umb:UmbracoPanel>

</asp:Content>